source 'https://rubygems.org'

gem 'rake', '~> 10.1.0'
gem 'extlib', '0.9.16'
gem 'ruby-hmac'
gem 'ipaddress', '0.8.0'
gem 'thor', '0.18.1'
gem 'rbvmomi', '1.5.1', :group => :with_esxi
gem 'unicorn', '4.7.0'
gem "unicorn-worker-killer", "~> 0.4.2"
gem "sequel", "3.47.0"
gem "mysql2", "~> 0.3.14"
gem "sinatra", "1.4.3"
gem "sinatra-contrib", "1.4.1"
gem "json", ">= 1.8.0"
gem "net-dhcp", ">= 1.1.1"
gem "bit-struct", ">= 0.13.7"
gem "racket", ">= 1.0.11"
gem 'ripl'
gem "rack-test", "0.6.2"
gem 'posix-spawn'
gem 'fuguta', ">= 1.0.4"

gem 'vnet_api_client'

gem 'eventmachine', :github=>'axsh/eventmachine', :ref=>'dc84f883b00f'
gem 'isono', '>= 0.2.20'

# Trema gem requires "rant" command during build.
ENV['PATH']="#{Bundler.bundle_path}/bin:#{ENV['PATH']}"

gem 'rant', '0.5.9'
gem 'trema', :github=>'axsh/trema', :branch=>'wakame'
gem 'rack-cors', :require => 'rack/cors'

gem 'multi_json'
gem 'sshkey', '1.3.1'

gem 'thin'
gem 'em-http-request'

# required by dolphin_client.
gem 'weary', '1.1.3'

# we have client/dolphin directory in development environment.
# so we use the local version of dolphin_client during development.
dolphin_client_root=File.expand_path('../../client/dolphin/', __FILE__)
if File.exists?(dolphin_client_root)
  gem 'dolphin_client', :path=>dolphin_client_root
else
  gem 'dolphin_client', '0.0.1'
end

# we have metric_libs directory in development environment.
# so we use the local version of metric_libs during development.
metric_libs_root=File.expand_path('../../metric_libs/', __FILE__)
if File.exists?(metric_libs_root)
  gem 'metric_libs', :path=>metric_libs_root
else
  gem 'metric_libs', '0.0.5'
end

gem 'dcell', '0.15.0'
gem 'celluloid', '0.15.2'
gem 'reel', '0.4.0'
gem 'http', '0.5.0'

group :test do
  gem 'rspec'
  gem 'fabrication'
  gem 'database_cleaner'
  gem 'webmock'
  gem 'pry'
end
